package com.sky.com.admin;

import com.sky.feignapi.clients.MerchantClient;
import com.sky.feignapi.config.DefaultFeignConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**clients跟客户端类
 * defaultConfiguration调用feign日志
 * */
@SpringBootApplication
@EnableFeignClients(clients = MerchantClient.class,defaultConfiguration = DefaultFeignConfiguration.class )
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }

}
